package Library.operation;

import Library.BookList;

public class ExitOperation implements IOperation{
    @Override
    public void work(BookList bookList) {
        System.out.println("goodbye");
        System.exit(0);
        //退出程序，后面的0是退出码

    }
}
